<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: xsecure_aesclient.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsecure__aesclient_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsecure_aesclient.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file Contains the client function prototypes, defines and macros for the AES hardware module. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0   kal  03/23/21 Initial release
4.5   kal  03/23/20 Updated file version to sync with library version
      har  04/14/21 Added XSecure_AesEncryptData and XSecure_AesDecryptData
      kpt  03/16/22 Removed IPI related code and added mailbox support
5.0   kpt  07/24/22 Moved XSecure_AesDecryptKat and XSecure_AesDecryptCMKat
                    into <a class="el" href="xsecure__katclient_8c.html" title="This file contains the implementation of the client interface functions for KAT. ">xsecure_katclient.c</a>
      kpt  08/19/22 Added GMAC support
5.2   mmd  07/09/23 Included header file for crypto algorithm information
      vss  09/21/23 Fixed doxygen warnings
5.3     vss  10/03/23 Added single API support for AES AAD and GMAC operations
      vss  03/04/24 Removed code redundancy for AesPerformOperation API
5.4   yog  04/29/24 Fixed doxygen grouping and doxygen warnings.</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaf7eae7e456a1d11d550afb26e22ea199"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#gaf7eae7e456a1d11d550afb26e22ea199">XSECURE_AES_INVALID_PARAM</a>&#160;&#160;&#160;(0x51U)</td></tr>
<tr class="memdesc:gaf7eae7e456a1d11d550afb26e22ea199"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalid Argument for AES.  <a href="group__xsecure__aes__client__apis.html#gaf7eae7e456a1d11d550afb26e22ea199">More...</a><br/></td></tr>
<tr class="separator:gaf7eae7e456a1d11d550afb26e22ea199"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga3be7525f93a2e54baa60c3b1a9df262c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> { <br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262caf0c657ebe9923d4838d44337c90cc6a7">XSECURE_AES_BBRAM_KEY</a> = 0,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262caacf963544b9e4e371b603a9f66a1404b">XSECURE_AES_BBRAM_RED_KEY</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262caa6ffd70735b44d0b80f75f344beca566">XSECURE_AES_BH_KEY</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cafc412e409ab2538a1971c54f917cbbf1">XSECURE_AES_BH_RED_KEY</a>,
<br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cac1278a39ca4943887c84d5ebe42e1b77">XSECURE_AES_EFUSE_KEY</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca8585f5fe3bb64ce15874e6338c786bb8">XSECURE_AES_EFUSE_RED_KEY</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cadfa54dce5072be1cc37ae590ce0e4844">XSECURE_AES_EFUSE_USER_KEY_0</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca5bf5cdf50e0b07a26029220ab8213e14">XSECURE_AES_EFUSE_USER_KEY_1</a>,
<br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca1df11b3e22d9684470bda33485b793ae">XSECURE_AES_EFUSE_USER_RED_KEY_0</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262caad4d84e71729c279e0078c7014e36bbe">XSECURE_AES_EFUSE_USER_RED_KEY_1</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca7d8127f4bfb0f1283df773606b56f7cf">XSECURE_AES_KUP_KEY</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca78b79c2fdd517f30458ffbc9364abbdc">XSECURE_AES_PUF_KEY</a>,
<br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca2ed303c437d0f865f4c4af8c6ff8fd82">XSECURE_AES_USER_KEY_0</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262caad2ed7c10297dbd5f5b3632e099e25a7">XSECURE_AES_USER_KEY_1</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cae4ac4d063374a434ea4ebb672b7e9b2c">XSECURE_AES_USER_KEY_2</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca2e8aac0ed6602911daf2103edd6441fd">XSECURE_AES_USER_KEY_3</a>,
<br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca6bbe752ad219dc263fdc114399949b7a">XSECURE_AES_USER_KEY_4</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262ca1af96660bb5da69424191738f36d4d0d">XSECURE_AES_USER_KEY_5</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cafbe238b0cf0f77f2c027a692fbc18053">XSECURE_AES_USER_KEY_6</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cab5c84ff4a7f15af959065b2e66aa088f">XSECURE_AES_USER_KEY_7</a>,
<br/>
&#160;&#160;<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cac1b2dfac9fa33633ef8a335b121716ea">XSECURE_AES_EXPANDED_KEYS</a>,
<a class="el" href="group__xsecure__aes__client__apis.html#gga3be7525f93a2e54baa60c3b1a9df262cac0b53728403f2f50005b56e03f562bef">XSECURE_AES_ALL_KEYS</a>
<br/>
 }</td></tr>
<tr class="memdesc:ga3be7525f93a2e54baa60c3b1a9df262c"><td class="mdescLeft">&#160;</td><td class="mdescRight">For selecting the Key source to AES Core.  <a href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">More...</a><br/></td></tr>
<tr class="separator:ga3be7525f93a2e54baa60c3b1a9df262c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga55cd9d64e04cce6a57d729b67a5f0c47"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga55cd9d64e04cce6a57d729b67a5f0c47">XSecure_AesKeySize</a> { <a class="el" href="group__xsecure__aes__server__apis.html#gga55cd9d64e04cce6a57d729b67a5f0c47a2e5b9343d2f9cc0e355b413d6a3848e3">XSECURE_AES_KEY_SIZE_128</a> = 0,
<a class="el" href="group__xsecure__aes__server__apis.html#gga55cd9d64e04cce6a57d729b67a5f0c47afe748ecfca538040238b87ca1bd1dfde">XSECURE_AES_KEY_SIZE_256</a> = 2,
<a class="el" href="group__xsecure__aes__server__apis.html#gga55cd9d64e04cce6a57d729b67a5f0c47a2e5b9343d2f9cc0e355b413d6a3848e3">XSECURE_AES_KEY_SIZE_128</a> = 0,
<a class="el" href="group__xsecure__aes__server__apis.html#gga55cd9d64e04cce6a57d729b67a5f0c47afe748ecfca538040238b87ca1bd1dfde">XSECURE_AES_KEY_SIZE_256</a> = 2
 }</td></tr>
<tr class="memdesc:ga55cd9d64e04cce6a57d729b67a5f0c47"><td class="mdescLeft">&#160;</td><td class="mdescRight">For selecting the Key size to AES Core.  <a href="group__xsecure__aes__client__apis.html#ga55cd9d64e04cce6a57d729b67a5f0c47">More...</a><br/></td></tr>
<tr class="separator:ga55cd9d64e04cce6a57d729b67a5f0c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2768b0d967bc577d2721682881592bb7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga2768b0d967bc577d2721682881592bb7">XSecure_AesInitialize</a> (XSecure_ClientInstance *InstancePtr)</td></tr>
<tr class="memdesc:ga2768b0d967bc577d2721682881592bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to initialize the AES engine.  <a href="group__xsecure__aes__client__apis.html#ga2768b0d967bc577d2721682881592bb7">More...</a><br/></td></tr>
<tr class="separator:ga2768b0d967bc577d2721682881592bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23f9b2bfaf978518d82c19d8331c9cb8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga23f9b2bfaf978518d82c19d8331c9cb8">XSecure_AesEncryptInit</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc, u32 Size, u64 IvAddr)</td></tr>
<tr class="memdesc:ga23f9b2bfaf978518d82c19d8331c9cb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to EncryptInit the AES engine.  <a href="group__xsecure__aes__client__apis.html#ga23f9b2bfaf978518d82c19d8331c9cb8">More...</a><br/></td></tr>
<tr class="separator:ga23f9b2bfaf978518d82c19d8331c9cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacea2fc49243f66d0b440a95d1bd6170f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#gacea2fc49243f66d0b440a95d1bd6170f">XSecure_AesDecryptInit</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc, u32 Size, u64 IvAddr)</td></tr>
<tr class="memdesc:gacea2fc49243f66d0b440a95d1bd6170f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to DecryptInit the AES engine.  <a href="group__xsecure__aes__client__apis.html#gacea2fc49243f66d0b440a95d1bd6170f">More...</a><br/></td></tr>
<tr class="separator:gacea2fc49243f66d0b440a95d1bd6170f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab23a3dfb8aadcc94500201af5f25b659"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#gab23a3dfb8aadcc94500201af5f25b659">XSecure_AesUpdateAad</a> (XSecure_ClientInstance *InstancePtr, u64 AadAddr, u32 AadSize)</td></tr>
<tr class="memdesc:gab23a3dfb8aadcc94500201af5f25b659"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to update AAD to AES engine.  <a href="group__xsecure__aes__client__apis.html#gab23a3dfb8aadcc94500201af5f25b659">More...</a><br/></td></tr>
<tr class="separator:gab23a3dfb8aadcc94500201af5f25b659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga162a8009f9d4983d841b517fe53d14c4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga162a8009f9d4983d841b517fe53d14c4">XSecure_AesEncryptUpdate</a> (XSecure_ClientInstance *InstancePtr, u64 InDataAddr, u64 OutDataAddr, u32 Size, u32 IsLast)</td></tr>
<tr class="memdesc:ga162a8009f9d4983d841b517fe53d14c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to update the input data to AES engine for encryption.  <a href="group__xsecure__aes__client__apis.html#ga162a8009f9d4983d841b517fe53d14c4">More...</a><br/></td></tr>
<tr class="separator:ga162a8009f9d4983d841b517fe53d14c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3150fb8656509ac0217c44c9609776cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga3150fb8656509ac0217c44c9609776cc">XSecure_AesDecryptUpdate</a> (XSecure_ClientInstance *InstancePtr, u64 InDataAddr, u64 OutDataAddr, u32 Size, u32 IsLast)</td></tr>
<tr class="memdesc:ga3150fb8656509ac0217c44c9609776cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to update the encrypted data to AES engine for decryption.  <a href="group__xsecure__aes__client__apis.html#ga3150fb8656509ac0217c44c9609776cc">More...</a><br/></td></tr>
<tr class="separator:ga3150fb8656509ac0217c44c9609776cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49114523757f3b39daf51876ba899e51"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga49114523757f3b39daf51876ba899e51">XSecure_AesDecryptFinal</a> (XSecure_ClientInstance *InstancePtr, u64 GcmTagAddr)</td></tr>
<tr class="memdesc:ga49114523757f3b39daf51876ba899e51"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to verify the GcmTag provided for the data decrypted till the point.  <a href="group__xsecure__aes__client__apis.html#ga49114523757f3b39daf51876ba899e51">More...</a><br/></td></tr>
<tr class="separator:ga49114523757f3b39daf51876ba899e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga982cb284b765c652355d9f942798211b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga982cb284b765c652355d9f942798211b">XSecure_AesEncryptFinal</a> (XSecure_ClientInstance *InstancePtr, u64 GcmTagAddr)</td></tr>
<tr class="memdesc:ga982cb284b765c652355d9f942798211b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to update the GcmTag Addr to AES engine.  <a href="group__xsecure__aes__client__apis.html#ga982cb284b765c652355d9f942798211b">More...</a><br/></td></tr>
<tr class="separator:ga982cb284b765c652355d9f942798211b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3c4b19232e0c5fa8cf14d69410e31e7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#gaa3c4b19232e0c5fa8cf14d69410e31e7">XSecure_AesKeyZero</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc)</td></tr>
<tr class="memdesc:gaa3c4b19232e0c5fa8cf14d69410e31e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to zeroize selected AES key storage register.  <a href="group__xsecure__aes__client__apis.html#gaa3c4b19232e0c5fa8cf14d69410e31e7">More...</a><br/></td></tr>
<tr class="separator:gaa3c4b19232e0c5fa8cf14d69410e31e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga056f80ac76299a3ed41102b9f21237e7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga056f80ac76299a3ed41102b9f21237e7">XSecure_AesWriteKey</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc, u32 Size, u64 KeyAddr)</td></tr>
<tr class="memdesc:ga056f80ac76299a3ed41102b9f21237e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to write the key provided into the specified AES key registers.  <a href="group__xsecure__aes__client__apis.html#ga056f80ac76299a3ed41102b9f21237e7">More...</a><br/></td></tr>
<tr class="separator:ga056f80ac76299a3ed41102b9f21237e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5336eb4fdbdbd4c48776776c4524653e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga5336eb4fdbdbd4c48776776c4524653e">XSecure_AesKekDecrypt</a> (XSecure_ClientInstance *InstancePtr, u64 IvAddr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> DstKeySrc, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> DecKeySrc, <a class="el" href="group__xsecure__aes__client__apis.html#ga55cd9d64e04cce6a57d729b67a5f0c47">XSecure_AesKeySize</a> Size)</td></tr>
<tr class="memdesc:ga5336eb4fdbdbd4c48776776c4524653e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to decrypt the key in KEK key form.  <a href="group__xsecure__aes__client__apis.html#ga5336eb4fdbdbd4c48776776c4524653e">More...</a><br/></td></tr>
<tr class="separator:ga5336eb4fdbdbd4c48776776c4524653e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2149f38c111ed53eec28fc05ac1afb1e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga2149f38c111ed53eec28fc05ac1afb1e">XSecure_AesSetDpaCm</a> (XSecure_ClientInstance *InstancePtr, u8 DpaCmCfg)</td></tr>
<tr class="memdesc:ga2149f38c111ed53eec28fc05ac1afb1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to enable/disable DpaCm in AES.  <a href="group__xsecure__aes__client__apis.html#ga2149f38c111ed53eec28fc05ac1afb1e">More...</a><br/></td></tr>
<tr class="separator:ga2149f38c111ed53eec28fc05ac1afb1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa65c921632e25a29b33b883d85cf9058"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#gaa65c921632e25a29b33b883d85cf9058">XSecure_AesEncryptData</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc, u32 KeySize, u64 IvAddr, u64 InDataAddr, u64 OutDataAddr, u32 Size, u64 GcmTagAddr)</td></tr>
<tr class="memdesc:gaa65c921632e25a29b33b883d85cf9058"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calls IPI request to encrypt a single block of data.  <a href="group__xsecure__aes__client__apis.html#gaa65c921632e25a29b33b883d85cf9058">More...</a><br/></td></tr>
<tr class="separator:gaa65c921632e25a29b33b883d85cf9058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga074dbaf57b453f094f14c6b6c7aca964"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga074dbaf57b453f094f14c6b6c7aca964">XSecure_AesDecryptData</a> (XSecure_ClientInstance *InstancePtr, <a class="el" href="group__xsecure__aes__client__apis.html#ga3be7525f93a2e54baa60c3b1a9df262c">XSecure_AesKeySource</a> KeySrc, u32 KeySize, u64 IvAddr, u64 InDataAddr, u64 OutDataAddr, u32 Size, u64 GcmTagAddr)</td></tr>
<tr class="memdesc:ga074dbaf57b453f094f14c6b6c7aca964"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calls IPI request to decrypt a single block of data.  <a href="group__xsecure__aes__client__apis.html#ga074dbaf57b453f094f14c6b6c7aca964">More...</a><br/></td></tr>
<tr class="separator:ga074dbaf57b453f094f14c6b6c7aca964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1be5abccbec8cce45963a979c72828e1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga1be5abccbec8cce45963a979c72828e1">XSecure_AesPerformOperation</a> (const XSecure_ClientInstance *InstancePtr, const <a class="el" href="struct_x_secure___aes_data_block_params.html">XSecure_AesDataBlockParams</a> *AesDataParams)</td></tr>
<tr class="memdesc:ga1be5abccbec8cce45963a979c72828e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calls IPI request to encrypt/decrypt a single block of data along with update AAD/GMAC based on the user's choice.  <a href="group__xsecure__aes__client__apis.html#ga1be5abccbec8cce45963a979c72828e1">More...</a><br/></td></tr>
<tr class="separator:ga1be5abccbec8cce45963a979c72828e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c662c76ab7afdb97977628d81604ec1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__aes__client__apis.html#ga2c662c76ab7afdb97977628d81604ec1">XSecure_AesGmacUpdateAad</a> (XSecure_ClientInstance *InstancePtr, u64 AadAddr, u32 AadSize, u32 IsLastChunkSrc)</td></tr>
<tr class="memdesc:ga2c662c76ab7afdb97977628d81604ec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends IPI request to update AAD data to AES engine.  <a href="group__xsecure__aes__client__apis.html#ga2c662c76ab7afdb97977628d81604ec1">More...</a><br/></td></tr>
<tr class="separator:ga2c662c76ab7afdb97977628d81604ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
